package cn.edu.lnpu.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("cn.edu.lnpu.domain.search")
@ComponentScan({"cn.edu.lnpu.api","cn.edu.lnpu.search","cn.edu.lnpu.common"})//扫描实体类
public class SearchApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(SearchApplication.class, args);
    }

}
